package org.ezjava.rpc.dubbo.provider.javaconfig;


import org.apache.dubbo.config.annotation.DubboService;
import org.ezjava.rpc.dubbo.provider.dubbo.FuckDubboService;
import org.ezjava.rpc.dubbo.provider.dubbo.FuckDubboServiceImp;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class JavaConfigDubbo {
    @Bean
    @DubboService
    public FuckDubboService getFuckDubboService() {
        return new FuckDubboServiceImp();
    }


}
